package com.wtb.javatool.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtb.javatool.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper extends BaseMapper<Course> {
    List<Course> getCourseById(Long id);

    List<Course> getCourseBySubjectId(Long subjectId);

    int update(Course course);

    int deleteByBandId(Long bandId);
}
